<?php
class frontend_homepage_page extends page {

  public function prepare() {
  }
  
  public function finish() {
  }

  public function render_block($block_name) {
    $block = $this->get_block($block_name);
    $block->render_html();
  }
  
  public function render_blocks($position) {
    if ($position=="left") {
      $block = $this->get_block("message","shared");
      $block->message = "render_blocks('left')";
      $block->render_html();
    }
  }//render_blocks
}